package com.blog.mapper;

import com.blog.bean.FriendChain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FriendChainMapper {
    int deleteByPrimaryKey(@Param("friendChainId") Long friendChainId);

    int insert(@Param("friendChain") FriendChain friendChain);

    int insertSelective(@Param("friendChain") FriendChain friendChain);

    FriendChain selectByPrimaryKey(@Param("friendChainId") Long friendChainId);

    int updateByPrimaryKeySelective(@Param("friendChain") FriendChain friendChain);

    int updateByPrimaryKey(@Param("friendChain") FriendChain friendChain);

    List<FriendChain> selectFriendChain(@Param("friendChain") FriendChain friendChain);
}